package com.repair.file.exception;

import com.repair.base.exception.ErrorCode;

/**
 * @author chunyu
 * @since 2024/9/27,21:02
 */

public enum OssErrorCode implements ErrorCode {

    PHOTO_UPLOAD_ERROR(7501, "头像上传失败");

    private final Integer code;

    private final String message;

    OssErrorCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getMessage() {
        return this.message;
    }
}
